home *** CD-ROM | disk | FTP | other *** search
/ PC World 2007 December / PCWorld_2007-12_cd.bin / domacnost a kancelar / autoit / autoit-v3-setup.exe / Examples / Helpfile / Default.au3 < prev    next >
Text File  |  2007-09-08  |  405b  |  13 lines

  1. WinMove("","",default, default, 200,300)    ; just resize the active window (no move)
  2.  
  3. MyFunc2(Default,Default)
  4.  
  5. Func MyFunc2($Param1 = Default, $Param2 = 'Two', $Param3 = Default)
  6.     If $Param1 = Default Then $Param1 = 'One'
  7.     If $Param3 = Default Then $Param3 = 'Three'
  8.  
  9.     MsgBox(0, 'Params', '1 = ' & $Param1 & @LF & _
  10.         '2 = ' & $Param2 & @LF & _
  11.         '3 = ' & $Param3)
  12. EndFunc
  13.